package com.wrupple.muba.security.client.events;

public class AuthenticationSuccededEvent extends AuthenticationEvent {

	public String username;
	public String message;
	public Object userObject;

	public AuthenticationSuccededEvent(Object userObject, String username, String message) {
		super();
		this.username = username;
		this.message = message;
		this.userObject = userObject;
	}

	@Override
	protected void dispatch(AuthenticationEventHandler handler) {
		handler.onAuthenticationSuccess(this);
	}

}
